package com.job.DQH.dqh714.inClass;

public class Item {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Item(){}

    public Item(String name){
        this.name = name;
    }

    public void finalize() throws Throwable {

        System.out.println(name+"此对象被销毁");

    }
}
